package org.hxyjs.dao;

import org.hxyjs.entity.ExpertActivityRecord;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface ExpertActivityRecordDao {

    //查询全部
    public List<ExpertActivityRecord> getAllExpertActivityRecords() throws Exception;

    //按主键查询
    public ExpertActivityRecord getExpertActivityRecordByExarno(String exarno) throws Exception;

    //分页查询
    public List<ExpertActivityRecord> getExpertActivityRecordByPage(PageInfo pageInfo) throws Exception;

    //增删改的返回值都是整数
    //增加
    Integer addExpertActivityRecord(ExpertActivityRecord expertActivityRecord) throws Exception;

    //删除
    Integer deleteExpertActivityRecordByExarno(String exarno) throws Exception;

    //修改
    Integer updateExpertActivityRecordByExarno(ExpertActivityRecord expertActivityRecord) throws Exception;



}
